Feather painting by action
Code:
OnMouseDown = init; function init () {// create a feather, and set each feather parameter and call the function feather = createEmptyMovieClip ("f" + I, 10000 + I ++); feather. swapDepths (Math. random () * 10000);
Js math atan2 cos sin
1. Give the relative coordinate center o, p1 to o distance l, p1 to X axis angle (0 ~ 2PI)
left:x0+Math.cos(angle)top: y0+Math.sin(angle)
2. The relative coordinate center o and p1 coordinates are given, and the angle between
Induction | Mouse flash in the field of 3D applications is very broad, flash can be very easy to make some wonderful 3D special effects, and many effects can respond to the mouse action, this example is a mouse 3D induction effect, by moving the
This article mainly introduces 97 kinds of curve equations commonly used in proe, the coordinate system used, and the legends for generating curves.
The curve types on each page are as follows:Page 1: disc spring, spiral, helical curve,
(1) RingVertices = D1: 72 D2: 72u = from 0 to (2 * PI) d1v = from 0 to (2 * PI) D2 r = 3 * Cos (u) + 7 z = 3 * sin (u) y = r * sin (v) x = r * Cos (v) y = Y + 5
(2) random radius Ring
Two methods are provided:
vertices = D1:72 D2:72u = from 0 to
Control and representation of graphics (figure control and representation)The functions and commands provided by MATLAB for graphical control:Axis: Manually select an axis size.CLF: Clear the graphics window.Ginput: Use the mouse crosshair
This procedure by foreign vulture eldest brother to write, and published the source code, this is his 95 years of a work, can say was very successful at that time!
This program is clever use of the constant changes in the coordinates, so as to
Simulation JobsFor the AC motor model given by the teacher, the rotational speed of the rotating magnetic field during normal operationN0=60f/p=1500r/minIn general, three-phase asynchronous motor rated speed nn= (0.94~0.985) N0, run the teacher gave
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.